package com.task.src.mapper;

import com.task.src.dto.MyPublish;
import com.task.src.dto.MyTask;
import com.task.src.dto.Task;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MyTaskMapper {
    List<MyTask> selectMyT(@Param("userid") int userid);
    int insertMyTask(@Param("userid")int userid,@Param("taskid")int taskid);
    int deleteMyTask(@Param("id")int mytaskid);
    List<Task> selectMyPubLis(int uid);
    List<MyTask> selectMyWc(@Param("userid") int userid);
}
